-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for Anycubic Photon Mono X SLA printer and its native export format. #7917
Conversation
Pwmx format is used by Anycubic Photon Mono X printers. File format structure and rle encoding implemented according to: https://github.com/sn4k3/UVtools https://github.com/ole00/pwmx_info
Great, thanks! |
What about other files exported by Photon Workshop? If I'm not mistaken, other models use same file format but have different extensions. At least Photon Mono (pwmo) and Photon Mono 4k (pwma) should be compatible. But I am not sure about pwmb (Photon Mono X 6K, likely compatible), pwms (Photon Mono SE), pmsq (Photon Mono SQ), pm3 (Photon M3) and pm3m (Photon M3 Max). |
We are leaving it to contributors. |
@gudvinr - I think you are correct. Other Anycubic SLA printers use 'nearly' the same export format with some small but important differences (few bytes differences in the file header). The thing for me is I do own Mono X and I could physically print the exported .pwmx files on the printer. Therefore I had high confidence the exported files a) do not break the expensive printer and b) print the 3d model correctly. If you have a different Anycubic SLA printer, and you volunteer to test the exported files please let me know and I could try to support your printer (it would be good if you could compile the PrusaSlicer on your own as well, or you would be OK to use a Linux build at least for testing purposes). |
@ole00 I do have Photon Mono (2k) which I think is same gen as your Photon Mono X. And I could both build PS myself or use linux build. Maybe we can do it this way. Since you already did most of the work and familiar with your codebase, can you create printer-agnostic class for writing PW-compatible files and derive your pwmx writer from it? Is this okay for you? |
@ole00 I have a photon mono 4k, which uses pwma extension. I'm able to compile PS and test the output on the actual printer as well. If you need sliced pwma files for testing, I'm happy to provide those too.(And maybe we should move this to a new bug report) |
@properlypurple new bug report is a good idea. Feel free to add new comments here: ole00#1 |
I have a Photon Mono SQ and have been using the PS→SL1→UVtools→PMSQ workflow on Arch Linux. @ole00 any idea what modifications are necessary? |
@HerrBrain you can try to compile the following fork: master...ole00:PrusaSlicer:sla_anyphoton_export2 BTW. depending on your build environment you may need to revert my qhull commit: c11b224 Edit: please note that the driver changes in my fork are experimental and were only tested (AFAIK) on Photon Mono X (tested by me). Be careful before you make your first physical printout and check the exported file is correct. You can use the Photon Workshop slicer to read the exported .pmsq file, you could try to use UVTools for verification, or use my pwmx_info tool (https://github.com/ole00/pwmx_info) for basic export format checks. |
Hi @Mimoja . I forgot about my branch completely. Was my second branch (sla_anyphoton_export2) already merged to master? Your pull request does not seem to contain some changes from my sla_anyphoton_export2 branch, so that's why I'm curious whether your new commits would work. Anyway, your changes look good to me (have not tried to compile them yet). Thanks for the tidy-up and improvements. |
I found you branch after i did the work /0 |
Please start merging yourself. I'm happy with your PR. Thanks. |
This change adds support for Anycubic Photon Mono X SLA printer. Notable changes: